﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModalDlg.aspx.cs" Inherits="EuroAudit.ModalDlg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Message</title>
    <base target = "_self" /> 
    <script type="text/javascript">
        function OK() {
            window.returnValue = "OK";
            window.close();
        }
        function Cancel() {
            window.returnValue = "Cancel";
            window.close();
        }
        function doInit() {
            var MsgText = "";
            MsgText = window.dialogArguments;
            if (document.getElementById("lblMessage").textContent != "undefined")
                document.getElementById("lblMessage").textContent = MsgText.toString();
            if (document.getElementById("lblMessage").innerText != "undefined")
                document.getElementById("lblMessage").innerText = MsgText.toString();
            //document.getElementById("lblMessage").innerHTML = MsgText.toString();
        }
        window.onload = doInit;
    </script>

    <link href="Style.css" rel="stylesheet" type="text/css" />

</head>
<body  class="PageConfirm">
    <form id="form1" runat="server">
    <div align="center">
    
        <br />
        <br />
    
        <asp:Label ID="lblMessage" runat="server" Text="Modal dialog" Font-Bold="True" 
            Font-Size="Medium"></asp:Label>
        <br />
        <br />
        <br />
        <asp:Button ID="cmdOK" runat="server" Text="OK" onclientclick="OK()" 
            CssClass="cmdSave" onclick="cmdOK_Click" />
&nbsp;<asp:Button ID="cmdCancel" runat="server" Text="Cancel" 
            onclientclick="Cancel()" CssClass="cmdClose" />
    
    </div>
    </form>
</body>
</html>
